<!doctype html>
<html>
<head>
    <!--Setting-->
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta name="apple-mobile-web-app-capable"  content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no,email=no">
    
    
    <!--Simple SEO-->


<meta name="robots" content=all />
<meta name="google" content=all />
<meta name="googlebot" content=all />
<meta name="verify" content=all />
    <!--Title-->

<title>docker daemon.json | MIAbon&#39;s blog</title>

<link rel="alternate" href="/atom.xml" title="MIAbon&#39;s blog" type="application/atom+xml">


<link rel="icon" href="/favicon.ico">

    
<link rel="stylesheet" href="/css/base.css">
<link rel="stylesheet" href="/css/pages/post.css">
<link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/thirdParty/highlight/github.css">
<link rel="stylesheet" href="/.css">

    <!--script-->


<script src="http://cdn1.lncld.net/static/js/3.2.1/av-min.js"></script>
<script>
  var appId = "i7AHmC7NPbPtgS3YxT67dRIc-9Nh9j0Va";
  var appKey = "g6TKbY8O4TsCDMcemoC3STvQ";
  var region = "";
  AV.init({
    appId: appId,
    appKey: appKey,
    region: region
  });
</script>


<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

<!--<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>-->


    
    
</head>

<body id="normal">
<!--[if lte IE 8]>
<style>
    html{ font-size: 1em }
</style>
<![endif]-->
<!--[if lte IE 9]>
<style>
    header{ top: 71px; position: absolute!important;}
    #container{padding-top: 151px!important;}
</style>
<div style="position:fixed;z-index:9999;left:0;top:0;width:100%;height:70px;background-color:#e0e0e0;color:#396CA5;border-bottom:1px solid #cecece;text-align:center;line-height:70px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis">你使用的浏览器版本过低，为了你更好的阅读体验，请更新浏览器的版本或者使用其他现代浏览器，比如Chrome、Firefox、Safari等。</div>
<![endif]-->

<div id="wrap">
    <header  style="position: absolute;" >
    <div id="site-meta">
        <a href="/" id="logo">
            <h1 class="title">MIAbon&#39;s blog</h1>
        </a>
        
    </div>
    <ul id="nav">
        
            <li><a href="/"><i class="fa fa-home"></i>首页</a></li>
        
            <li><a href="/atom.xml"><i class="fa fa-rss"></i>RSS</a></li>
        
        <li id="search"><a href="javascript:void(0)"><i class="fa fa-search"></i>搜索</a></li>
    </ul>
</header>

    <div id="container">
        
<ul id="sidebar">
    
    
    
    
<li class="widget widget-normal category">
    <h3 class="fa fa-th widget-title">分类</h3>
    <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/ELK/"><i class="fa" aria-hidden="true">ELK</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Lvs/"><i class="fa" aria-hidden="true">Lvs</i></a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/admin/"><i class="fa" aria-hidden="true">admin</i></a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/ansible/"><i class="fa" aria-hidden="true">ansible</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/aws/"><i class="fa" aria-hidden="true">aws</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/docker/"><i class="fa" aria-hidden="true">docker</i></a><span class="category-list-count">7</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/drone/"><i class="fa" aria-hidden="true">drone</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/kernel/"><i class="fa" aria-hidden="true">kernel</i></a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/kubernetes/"><i class="fa" aria-hidden="true">kubernetes</i></a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/kvm/"><i class="fa" aria-hidden="true">kvm</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/mongodb/"><i class="fa" aria-hidden="true">mongodb</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link current" href="/categories/python/"><i class="fa" aria-hidden="true">python</i></a><span class="category-list-count">9</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/share/"><i class="fa" aria-hidden="true">share</i></a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/web/"><i class="fa" aria-hidden="true">web</i></a><span class="category-list-count">12</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/zabbix/"><i class="fa" aria-hidden="true">zabbix</i></a><span class="category-list-count">3</span></li></ul>
</li>


    
    
<li class="widget widget-normal archive">
  <h3 class="fa fa-archive widget-title">归档</h3>
    <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/02/"><i class="fa" aria-hidden="true">二月 2018</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/01/"><i class="fa" aria-hidden="true">一月 2018</i></a><span class="archive-list-count">8</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/12/"><i class="fa" aria-hidden="true">十二月 2017</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/11/"><i class="fa" aria-hidden="true">十一月 2017</i></a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/10/"><i class="fa" aria-hidden="true">十月 2017</i></a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/09/"><i class="fa" aria-hidden="true">九月 2017</i></a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/08/"><i class="fa" aria-hidden="true">八月 2017</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/05/"><i class="fa" aria-hidden="true">五月 2017</i></a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/04/"><i class="fa" aria-hidden="true">四月 2017</i></a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/03/"><i class="fa" aria-hidden="true">三月 2017</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/01/"><i class="fa" aria-hidden="true">一月 2017</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/12/"><i class="fa" aria-hidden="true">十二月 2016</i></a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/11/"><i class="fa" aria-hidden="true">十一月 2016</i></a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/10/"><i class="fa" aria-hidden="true">十月 2016</i></a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/08/"><i class="fa" aria-hidden="true">八月 2016</i></a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/05/"><i class="fa" aria-hidden="true">五月 2016</i></a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/04/"><i class="fa" aria-hidden="true">四月 2016</i></a><span class="archive-list-count">8</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/05/"><i class="fa" aria-hidden="true">五月 2015</i></a><span class="archive-list-count">1</span></li></ul>
</li>


    
    
<li class="widget widget-normal tags">
  <h3 class="fa fa-tags widget-title">标签云</h3>
  <div class="tagcloud-content">
    
      <a href="/tags/drone/" style="font-size: 0.14rem; color: #69c">drone</a> <a href="/tags/linux/" style="font-size: 0.2rem; color: #0a407c">linux</a> <a href="/tags/kernel/" style="font-size: 0.16rem; color: #4f83b8">kernel</a> <a href="/tags/ELK/" style="font-size: 0.14rem; color: #69c">ELK</a> <a href="/tags/ansible/" style="font-size: 0.14rem; color: #69c">ansible</a> <a href="/tags/swarm/" style="font-size: 0.14rem; color: #69c">swarm</a> <a href="/tags/docker/" style="font-size: 0.18rem; color: #215690">docker</a> <a href="/tags/firewalld/" style="font-size: 0.14rem; color: #69c">firewalld</a> <a href="/tags/zabbix/" style="font-size: 0.16rem; color: #4f83b8">zabbix</a> <a href="/tags/aws/" style="font-size: 0.14rem; color: #69c">aws</a> <a href="/tags/web/" style="font-size: 0.16rem; color: #4f83b8">web</a> <a href="/tags/python/" style="font-size: 0.18rem; color: #215690">python</a> <a href="/tags/spider/" style="font-size: 0.17rem; color: #386da4">spider</a>
  </div>
</li>


    
    
<li class="widget widget-normal friends-link">
    <h3 class="fa fa-globe widget-title">友链</h3><br/>

    
        <a href="http://zhengwei666.wang" class="fa" target="_blank">zhengwei</a>

    
        <a href="https://you-deng.github.io" class="fa" target="_blank">dengyou</a>

    
        <a href="http://www.systemd.cn" class="fa" target="_blank">langyaoliang</a>

    
        <a href="http://www.chen-hao.com.cn/" class="fa" target="_blank">chenhao</a>

    
        <a href="http://www.yulongjun.com" class="fa" target="_blank">yulongjun</a>

    

</li>

    
</ul>


        <div id="main">
    <article id="post">
        <div id="post-header">

            <h1 id="docker daemon.json">
                
                docker daemon.json
                
            </h1>
            <div class="article-meta">
    
    
    <span class="categories-meta fa-wrap">
            <i class="fa fa-folder-open-o"></i>
        <span>docker</span>
    </span>
    
    
    <span class="fa-wrap">
         <i class="fa fa-tags"></i>
        <span class="tags-meta">
            
            docker
            
        </span>
    </span>
    
    
    <span class="fa-wrap">
        <i class="fa fa-clock-o"></i>
        <span class="date-meta ">2018/02/10</span>
    </span>
    
    
    <span class="fa-wrap">
            <i class="fa fa-thermometer-three-quarters"></i>
        <span class="hits hits-meta " data-leadcloud-title="docker daemon.json"
              data-leadcloud-url="/2018/02/10/docker_daemon_json/"><i class="fa fa-spinner fa-spin"></i></span>
    </span>
    
    
</div>

            
            
        </div>
        
        <div id="post-body">
            <h1 id="常用的加速"><a href="#常用的加速" class="headerlink" title="常用的加速"></a>常用的加速</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div></pre></td><td class="code"><pre><div class="line">&#123;</div><div class="line">  &quot;registry-mirrors&quot;: [</div><div class="line">        &quot;https://registry.docker-cn.com&quot;,</div><div class="line">        &quot;https://docker.mirrors.ustc.edu.cn&quot;</div><div class="line">    ],</div><div class="line">&#125;</div></pre></td></tr></table></figure>
<h1 id="设置-镜像、容器、卷-存放目录和驱动"><a href="#设置-镜像、容器、卷-存放目录和驱动" class="headerlink" title="设置 镜像、容器、卷 存放目录和驱动"></a>设置 <strong>镜像、容器、卷</strong> 存放目录和驱动</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line">&#123;</div><div class="line">    &quot;graph&quot;: &quot;/mnt/docker_data&quot;,</div><div class="line">    &quot;storage-driver&quot;: &quot;overlay2&quot;</div><div class="line">&#125;</div></pre></td></tr></table></figure>
<p><strong>graph</strong> : 设置存放目录<br><strong>storage-driver</strong>: 设置存储驱动</p>
<h1 id="日志"><a href="#日志" class="headerlink" title="日志"></a>日志</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div></pre></td><td class="code"><pre><div class="line">&#123;</div><div class="line">  &quot;log-driver&quot;: &quot;json-file&quot;</div><div class="line">  &quot;debug&quot;: true,</div><div class="line">  &quot;log-level&quot;: &quot;info&quot;</div><div class="line">&#125;</div></pre></td></tr></table></figure>
<table>
<thead>
<tr>
<th>格式</th>
<th style="text-align:right">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>none</td>
<td style="text-align:right">没有日志,docker logs 不返回任何输出</td>
</tr>
<tr>
<td>json-file</td>
<td style="text-align:right">json格式</td>
</tr>
<tr>
<td>syslog</td>
<td style="text-align:right">将日志写进syslog</td>
</tr>
<tr>
<td>journald</td>
<td style="text-align:right">将日志写进journald</td>
</tr>
<tr>
<td>gelf</td>
<td style="text-align:right">将日志写入graylog,扩展格式gelf</td>
</tr>
<tr>
<td>fluentd</td>
<td style="text-align:right">将日志写进fluentd</td>
</tr>
<tr>
<td>awslogs</td>
<td style="text-align:right"></td>
</tr>
<tr>
<td>splunk</td>
<td style="text-align:right">使用http事件收集器将日志写入splunk</td>
</tr>
<tr>
<td>etwlogs</td>
<td style="text-align:right"></td>
</tr>
<tr>
<td>gcplogs</td>
<td style="text-align:right"></td>
</tr>
<tr>
<td>logentries</td>
</tr>
</tbody>
</table>
<h2 id="json-file支持的选项"><a href="#json-file支持的选项" class="headerlink" title="json-file支持的选项"></a>json-file支持的选项</h2><table>
<thead>
<tr>
<th>选项</th>
<th style="text-align:center">描述</th>
<th style="text-align:right">示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>max-size</td>
<td style="text-align:center">滚动日志的最大大小</td>
<td style="text-align:right">–log-opt max-size=10m</td>
</tr>
<tr>
<td>max-file</td>
<td style="text-align:center">可以存在日志文件大最大数,如果多创建则旧文件被删除</td>
<td style="text-align:right">–log-opt max-file=3</td>
</tr>
<tr>
<td>labels</td>
<td style="text-align:center">在启动Docker守护进程时应用。接受的日志相关标签的逗号分隔列表。</td>
<td style="text-align:right">–log-opt labels=production_status,geo</td>
</tr>
<tr>
<td>env</td>
<td style="text-align:center">在启动Docker守护进程时应用。接受的与日志相关的环境变量的逗号分隔列表。</td>
<td style="text-align:right">–log-opt env=os,customer</td>
</tr>
<tr>
<td>env-regex</td>
<td style="text-align:center">与env类似且兼容。一个正则表达式来匹配与日志相关的环境变量。</td>
<td style="text-align:right">–log-opt env-regex=^(os or customer).</td>
</tr>
</tbody>
</table>
<h2 id="syslog支持的选项"><a href="#syslog支持的选项" class="headerlink" title="syslog支持的选项"></a>syslog支持的选项</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div></pre></td><td class="code"><pre><div class="line">&#123;</div><div class="line">  &quot;log-driver&quot;: &quot;syslog&quot;,</div><div class="line">  &quot;log-opts&quot;: &#123;</div><div class="line">    &quot;syslog-address&quot;: &quot;udp://1.2.3.4:1111&quot;</div><div class="line">  &#125;</div><div class="line">&#125;</div></pre></td></tr></table></figure>
<table>
<thead>
<tr>
<th>选项</th>
<th style="text-align:center">描述</th>
<th style="text-align:right">示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>syslog-address</td>
<td style="text-align:center">uri说明符可能是tcp.udp.tcp+tls://主机:端口,unix://或unixgram://</td>
<td style="text-align:right">–log-opt syslog-address=tcp+tls://192.168.1.3:514, –log-opt syslog-address=unix:///tmp/syslog.sock</td>
</tr>
<tr>
<td>syslog-facility</td>
<td style="text-align:center"></td>
<td style="text-align:right">–log-opt syslog-facility=daemon</td>
</tr>
<tr>
<td>syslog-tls-ca-cert</td>
<td style="text-align:center">由CA签署的信任证书的绝对路径</td>
<td style="text-align:right">–log-opt syslog-tls-ca-cert=/etc/ca-certificates/custom/ca.pem</td>
</tr>
<tr>
<td>syslog-tls-cert</td>
<td style="text-align:center">TLS证书文件的绝对路径</td>
<td style="text-align:right">–log-opt syslog-tls-cert=/etc/ca-certificates/custom/cert.pem</td>
</tr>
<tr>
<td>syslog-tls-key</td>
<td style="text-align:center">TLS密钥文件的绝对路径</td>
<td style="text-align:right">–log-opt syslog-tls-key=/etc/ca-certificates/custom/key.pem</td>
</tr>
<tr>
<td>syslog-tls-skip-verify</td>
<td style="text-align:center">如果设置为true，则连接到syslog守护进程时会跳过TLS验证。默认为false。</td>
<td style="text-align:right">–log-opt syslog-tls-skip-verify=true</td>
</tr>
<tr>
<td>tag</td>
<td style="text-align:center">在syslog消息中附加到APP-NAME的字符串。默认情况下，Docker使用容器ID的前12个字符来标记日志消息。</td>
<td style="text-align:right">–log-opt tag=mailer</td>
</tr>
<tr>
<td>syslog-format</td>
<td style="text-align:center"></td>
<td style="text-align:right">–log-opt syslog-format=rfc5424micro/rfc5424/rfc3164</td>
</tr>
<tr>
<td>labels</td>
<td style="text-align:center">在启动Docker守护进程时应用。接受的日志相关标签的逗号分隔列表。</td>
<td style="text-align:right">–log-opt labels=production_status,geo</td>
</tr>
<tr>
<td>env</td>
<td style="text-align:center">在启动Docker守护进程时应用。接受的与日志相关的环境变量的逗号分隔列表。</td>
<td style="text-align:right">–log-opt env=os,customer</td>
</tr>
<tr>
<td>env-regex</td>
<td style="text-align:center">与env类似且兼容。一个正则表达式来匹配与日志相关的环境变量。</td>
<td style="text-align:right">–log-opt env-regex=^(os or customer).</td>
</tr>
</tbody>
</table>

        </div>
        <div id="post-footer">
            <div class="avatar" >
                <img src="/img/author.jpg" alt="avatar"/>
                <!-- 
                <a href="javascript:void(0)" class="high-song">high起来 &#128541;</a>
                 -->
                
                <a href="http://backup-miabon.oss-cn-hongkong.aliyuncs.com/img/alipay.jpg" target="_blank" class="donate fa">打赏小弟 &#128536;</a>
                
            </div>
            <ul class="author-profile-section">
                <li>
                  
                  作者:
                  
                    
                    <a href="/about.html">MIAbon</a>
                </li>
                
                <li>发表日期: <span>2018-02-10  00:00:00</span></li>
                
                <li>最后编辑日期: <span>2018-02-02  14:15:30</span></li>
                
                <li class="post-category">
                    文章分类:
                    
                    <a href="/categories/docker/">docker</a>
                    
                </li>
                <li class="post-tags">
                    文章标签:
                    
                    <a href="/tags/docker/">docker</a>
                    
                </li>
                
                <li> 版权声明: <a href="https://creativecommons.org/licenses/by-nc-nd/3.0/" target="_blank">
知识共享署名-非商业性使用-禁止演绎 3.0 未本地化版本许可协议（CC BY-NC-ND 3.0）
</a></li>
                
            </ul>
            <div id="donate-wrap">
                
                
                
                <img src="http://www.geasslinks.com/img/alipay.jpg" alt="支付宝付款" class="donate-img">
                
                
            </div>
        </div>
    </article>
    <div class="article-nav">
        
        
        <a href="/2018/01/20/pachong_test/" class="next-post fa">爬虫 测试</a>
        
    </div>
    
    <div id="comments">
        

<script>
  gitment.render(document.getElementById("comments"));
</script>



    </div>
    
</div>


    </div>
    <footer id="footer">
    
    <div class="social">
        
        <a href="https://www.example1.com" class="fa fa-free-code-camp" target="_blank" title="freecodecamp"></a>
        
        <a href="https://github.com/werewolf2101" class="fa fa-github" target="_blank" title="Follow me~"></a>
        
        <a href="mailto:werewolf2101@gmail.com" class="fa fa-email" target="_blank" title="Email"></a>
        
    </div>
    
    <div>
        
        <a href="/" class="copyright-links">MIAbon</a>&copy;2015 - 2018.All Rights
        Reserved.
    </div>
    <p>Powered by <a href="https://hexo.io" class="copyright-links" target="_blank">Hexo</a> | Theme by <a
                href="https://github.com/GeekaholicLin" class="copyright-links" target="_blank">GeekaholicLin</a>
    </p>
    
    
    <p>
        <span id="busuanzi_container_site_uv" class="fa fa-bar-chart">
        欢迎第<span id="busuanzi_value_site_uv"><i class="fa fa-spinner fa-spin"></i></span>位小伙伴~
        </span>
    </p>
    
</footer>

</div>
    <ul id="tools">
    <li class="totop-btn fa fa-angle-up"></li>
    <li class="exchange-btn fa fa-exchange"></li>
  
    <li class="toc-btn fa fa-list-ul"></li>
    
    

    
</ul>
<p id="process"></p>
<div id="search-overlay">
    <div class="search-area-wrap">
        <div id="search-area">
            <div class="input-wrap focus">
                <i class="fa fa-search" aria-hidden="true"></i>
                <input id="search-input" autofocus autocomplete="off" type="text"
                       placeholder="search this website..."/>
            </div>
            <ul id="search-result">
                <li class="load-first"><i class="fa fa-spinner fa-pulse"></i></li>
            </ul>
        </div>
    </div>
</div>

    <ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#常用的加速"><span class="toc-number">1.</span> <span class="toc-text">常用的加速</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#设置-镜像、容器、卷-存放目录和驱动"><span class="toc-number">2.</span> <span class="toc-text">设置 镜像、容器、卷 存放目录和驱动</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#日志"><span class="toc-number">3.</span> <span class="toc-text">日志</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#json-file支持的选项"><span class="toc-number">3.1.</span> <span class="toc-text">json-file支持的选项</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#syslog支持的选项"><span class="toc-number">3.2.</span> <span class="toc-text">syslog支持的选项</span></a></li></ol></li></ol>


    <script src="/js/highsong.js"></script>



<script src="/js/search.js"></script>
<script type="text/javascript">
    //theme config datas
    var copyrightObj = {};
    copyrightObj.enable = 'true';
    copyrightObj.triggerCopyLength = '200';
    copyrightObj.appendText = '商业转载请联系作者获得授权,非商业转载请注明出处 © gasslinks.com';
    var leancloudObj = {};
    leancloudObj.enable = 'true';
    leancloudObj.className = 'blog';
    leancloudObj.limits = '5';
</script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?dfebe5842f5d4196471b84802392a4b2";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
<script type="text/javascript">
    var search = {};
    var search_path = "search.xml";
    if (!search_path) {
        search_path = "search.xml";
    }
    search.path = "/" + search_path;
    search.func =  _ajax.init();
</script>
<script src="/js/app.js"></script>


</body>
</html>